for (i = 0; i < events.list.length; i++){
	events.list[i].start.jTime = utcdate(events.list[i].start.utcdate);
	events.list[i].end.jTime = utcdate(events.list[i].end.utcdate);
}
 
 function utcdate(tdate){
   //Takes a UTC data (as a string)
   //Returns a js date object
   //This function has application in almost any JS based calendar mashup.

       var year = tdate.substring(0,4);
       var month = tdate.substring(4,6)-1;
       var day = tdate.substring(6,8);

       var d = new Date();
       d.setUTCFullYear(year,month,day);

       var hour = tdate.substring(9,11);
       var min = tdate.substring(11,13);
       var sec = tdate.substring(13,15);
       d.setUTCHours(hour, min, sec);

       return d;
  }